####################################################################
### REPLICATION DATA FOR:                                        ###
### Ballard, Curry, and Kroeger (2025 LSQ)                       ###
### "The Separation of Powers and Policymaking in the US States" ###
### Contact Andy Ballard at aob23b@fsu.edu with any questions    ###
####################################################################

This repository contains both code files and data files. Code files are found in the "code" folder and data files are found in the "data" folder. Filepaths in the code files assume that data and code files are stored as such.

The files replicate the tables and figures in the paper. Figures are saved into a folder called "results".

What follows is a description of each file: where it falls in the workflow and its output/purpose. 



##########
CODE FILES
##########

- 1_modeling_setup.R: Loads and formats the modeling data, sources the plotting functions in aux2_plot_functions.R
- 2_fig1_data_flowchart.R: Code to create the data flowchart in Figure 1.
- 3_fig2-3_interchamber.R: Code to create Figures 2 and 3, the predicted effects of the relationship between the interchamber IVs (line-item veto and veto override threshold) and the 5 DVs.
- 4_fig4_restricted_threshold.R: Code to create Figure 4, the predicted effects of the relationship between different veto override thresholds and the probability of becoming law among a set of states restricted to just those states with all combinations of two different thresholds. 
- 5_fig5_nc.R: Code to create Figure 5, the predicted effects of the relationship between whether or not the NC governor holds veto power and the 5 DVs.
- 6_fig6-7_bicameralism.R: Code to create Figures 6 and 7, the predicted effects of the relationship between the bicameralism IVs (difference in term length and seat ratio between chambers) and the 5 DVs.
- 7_fig8_nebraska.R: Code to create Figure 8, the predicted effects of bicameralism itself (via comparing NE to DE/IL/MD/OH) on the probability that bills reach a vote and become law.
- 8_appendix.R: Code to create the appendix tables and figures.